package com.xnew.org.service;

import com.xnew.bean.common.OrgDeptInfo;
import com.xnew.bean.common.SysUserInfo;
import com.xnew.utils.DataInput;
import com.xnew.utils.DataOutput;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface OrgDeptService {
    List<OrgDeptInfo> queryOrgDeptList(DataInput input, SysUserInfo userInfo);

    DataOutput addOrgDept(OrgDeptInfo orgDeptInfo, HttpServletRequest request);

    DataOutput updateOrgDept(OrgDeptInfo orgDeptInfo, HttpServletRequest request);

    OrgDeptInfo queryOrgDeptById(String deptNo);

    void deleteOrgDeptById(String deptNo);

    List<Map<String, String>> getCurrentLoginInfo(SysUserInfo userInfo);
}
